new Vue({
    data(){
        return{
            drafts:[]
        }
    },
    mounted(){
        var userId= document.getElementById("userId").value;
        alert(userId);
        axios.get("draft/list.do?userId="+userId).then(resp=>{
            this.drafts=resp.data;
        });
    }
}).$mount("#app")